package org.mixare;

import android.util.Log;


public class MixareInit {// extends Application {

	public static Object newInstance(String classname) {
        Object instance =null;
        try{
            //Class<? extends Application> clazz = (Class<? extends Application>) Class.forName(appClass);
        	Class clazz = Class.forName(classname);
        	instance = clazz.newInstance();
        	Log.d("MixareInit","using class "+ classname);
        }catch (Exception ex){
            ex.printStackTrace();
        }
		return instance;
	}
}
